package com.xja.service;

import com.xja.entity.CoursePerson;
public interface CoursePersonService{


    int deleteByPrimaryKey(Integer cpid);

    int insert(CoursePerson record);

    int insertSelective(CoursePerson record);

    CoursePerson selectByPrimaryKey(Integer cpid);

    int updateByPrimaryKeySelective(CoursePerson record);

    int updateByPrimaryKey(CoursePerson record);

    CoursePerson selectCourseByUid(Integer uid,Integer cid);

    boolean addPerson(Integer cid, Integer uid);
}
